package com.linlang.grasharepro.model;

/**
 * Created by lenovo on 2016/8/3.
 */
public class NewMessageDomain {
    private String _id;
    private String fromUser;
    private String toUser;
    private String content;
    private String type; //1.私信2.留言3.回复4.新的粉丝5.系统消息
    private String time;
    private String flag;//0.未读1.已读
    private String image;

    @Override
    public String toString() {
        return "NewMessageDomain{" +
                "_id='" + _id + '\'' +
                ", fromUser='" + fromUser + '\'' +
                ", toUser='" + toUser + '\'' +
                ", content='" + content + '\'' +
                ", type='" + type + '\'' +
                ", time='" + time + '\'' +
                ", flag='" + flag + '\'' +
                ", image='" + image + '\'' +
                '}';
    }

    public NewMessageDomain() {
    }

    public NewMessageDomain(String fromUser, String toUser, String content, String type, String time, String flag, String image) {
        this.fromUser = fromUser;
        this.toUser = toUser;
        this.content = content;
        this.type = type;
        this.time = time;
        this.flag = flag;
        this.image = image;
    }

    public String get_id() {
        return _id;
    }

    public void set_id(String _id) {
        this._id = _id;
    }

    public String getFromUser() {
        return fromUser;
    }

    public void setFromUser(String fromUser) {
        this.fromUser = fromUser;
    }

    public String getToUser() {
        return toUser;
    }

    public void setToUser(String toUser) {
        this.toUser = toUser;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }
}

